import request from '@/utils/request'

export function getOrderList(data) {
  return request({
    url: 'xingyue/order/order/list/API_001',
    method: 'post',
    data:data
  })
}

export function getOrderById(id) {
  return request({
    url: 'xingyue/order/order/getById/API_002/'+id,
    method: 'post',
  })
}

export function updateOrder(data) {
  return request({
    url: 'xingyue/order/order/update/API_003',
    method: 'post',
    data:data
  })
}

export function deleteOrder(id) {
  return request({
    url: 'xingyue/order/order/delete/API_004/'+id,
    method: 'post',
  })
}
